package com.example.xiaomi.service;

import com.example.xiaomi.entity.wordnet;
import com.example.xiaomi.mapper.WordnetMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class WordnetServiceImpl implements WordnetService{

    @Autowired
    private WordnetMapper mapper;

    @Override
    public List<wordnet> findWordnet() {
        List<wordnet> info = mapper.findWordnet();
        return info;
    }
}
